﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ZhangBY.Config
{
    [Serializable]
    public class CompanyBaseConfigInfo:IConfigInfo
    {
        private int m_commentCount=1000;//留言数目
        private int m_showCommentNum = 20;//显示留言数
        private int m_newsCount = 1000;//新闻数目
        private int m_showNewsNum = 3;//显示新闻数目
        private int m_jobsCount = 1000;//人才招聘总条目
        private int m_showJobsNum = 20;//人才招聘分页显示数目
        private int m_msgCount=500;//信箱记录最大数目
        private int m_showMsgNum = 3;//信箱分页显示数目
        private int m_showComPhotoNum = 3;//相册分页显示数目
        private int m_myclsCount = 100;//自定义分类最大数目
        private int m_showMyclsNum = 10;//自定义分类显示数目
        private int m_showProductsNum = 3;//产品列表显示条目
        private int m_showSupplyNum = 3;//供应列表显示条目
        private int m_showBuyNum = 3;//求购列表显示条目
        private int m_showCooperateNum = 3;//合作列表显示条目
        private int m_showResumeBoxNum = 3;//简历列表显示条目
        

        /// <summary>
        /// 留言数目
        /// </summary>
        public int CommentCount
        {
            get { return m_commentCount; }
            set { m_commentCount = value; }
        }
        /// <summary>
        /// 示留言分页显示数目
        /// </summary>
        public int ShowCommentNum
        {
            get { return m_showCommentNum; }
            set { m_showCommentNum = value; }
        }
        /// <summary>
        /// 新闻数目
        /// </summary>
        public int NewsCount
        {
            get { return m_newsCount; }
            set { m_newsCount = value; }
        }
        /// <summary>
        /// 新闻分页显示数目
        /// </summary>
        public int ShowNewsNum
        {
            get { return m_showNewsNum; }
            set { m_showNewsNum = value; }
        }
        /// <summary>
        ///人才招聘总条目
        /// </summary>
        public int JobsCount 
        {
            get { return m_jobsCount; }
            set { m_jobsCount = value; }
        }
        /// <summary>
        /// 人才招聘分页显示数目
        /// </summary>
        public int ShowJobsNum
        {
            get { return m_showJobsNum; }
            set { m_showJobsNum = value; }
        }
        /// <summary>
        /// 信箱记录最大数目
        /// </summary>
        public int MsgCount
        {
            get { return m_msgCount; }
            set { m_msgCount = value; }
        }
        /// <summary>
        /// //信箱分页显示数目
        /// </summary>
        public int ShowMsgNum
        {
            get { return m_showMsgNum; }
            set { m_showMsgNum = value; }
        }
        /// <summary>
        /// 相册分页显示数目
        /// </summary>
        public int ShowComPhotoNum
        {
            get { return m_showComPhotoNum; }
            set { m_showComPhotoNum = value; }
        }
        /// <summary>
        /// 自定义分类最大数目
        /// </summary>
        public int MyClsCount
        {
            get { return m_myclsCount; }
            set { m_myclsCount = value; }
        }
        /// <summary>
        /// 自定义分类显示数目
        /// </summary>
        public int ShowMyClsNum
        {
            get { return m_showMyclsNum; }
            set { m_showMyclsNum = value; }
        }
        /// <summary>
        /// 产品列表显示条目
        /// </summary>
        public int ShowProductsNum
        {
            get { return m_showProductsNum; }
            set { m_showProductsNum = value; }
        }
        /// <summary>
        /// 供应列表显示条目
        /// </summary>
        public int ShowSupplyNum
        {
            get { return m_showSupplyNum; }
            set { m_showSupplyNum = value; }
        }
        /// <summary>
        ///求购列表显示条目
        /// </summary>
        public int ShowBuyNum
        {
            get { return m_showBuyNum; }
            set { m_showBuyNum = value; }
        }
        /// <summary>
        /// 合作列表显示条目
        /// </summary>
        public int ShowCooperateNum
        {
            get { return m_showCooperateNum; }
            set { m_showCooperateNum = value; }
        }
        /// <summary>
        /// 简历列表显示条目
        /// </summary>
        public int ShowResumeBoxNum
        {
            get { return m_showResumeBoxNum; }
            set { m_showResumeBoxNum = value; }
        }

    }
}
